package com.example.excelapache_poi.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Created by IntelliJ IDEA2022.3.2
 * @Author: Tenghw
 * @Date: 2023/07/03  19:46
 * @Description:
 */
@Data
public class User implements Serializable {

    private static final long serialVersionUID = 8581852246230492292L;
    /**
     * 账号id
     */
    private Long id;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 用户密码
     */
    private String password;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 性别：0:女；1:男
     */
    private Integer sex;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createtime;
}
